package com.jxl.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 线路-站点关联表
 * </p>
 *
 * @author 金小梁
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("route_station")
@ApiModel(value="RouteStation对象", description="线路-站点关联表")
public class RouteStation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "线路id")
    @TableField("route_id")
    private Long routeId;

    @ApiModelProperty(value = "站点id")
    @TableField("station_id")
    private Long stationId;

    @ApiModelProperty(value = "站点顺序")
    @TableField("station_order")
    private Integer stationOrder;


}
